import 'package:flutter/material.dart';
import 'package:mall/constant/app_colors.dart';
import 'package:mall/constant/app_dimens.dart';

class DividerLineView extends StatelessWidget {
  final double? height;
  final double? indent;
  final double? endIndent;
  DividerLineView({this.height, this.indent = 0, this.endIndent = 0});

  @override
  Widget build(BuildContext context) {
    return Divider(
      color: AppColors.C_F7F8FC,
      indent: indent,
      endIndent: endIndent,
      height: height == null ? AppDimens.DIMENS_1 : height!,
      thickness: height == null ? AppDimens.DIMENS_1 : height!,
    );
  }
}
